package com.zrf.model;

import com.zrf.pojo.Storage;

public class Product {
	private Integer id = 0;
    private Integer sid = 0;
    private String name = "";
    private Integer num = 0;
    private Double price = 0.00d;
	public Product(Integer sid, String name, Integer num, Double price) {
		super();
		this.sid = sid;
		this.name = name;
		this.num = num;
		this.price = price;
	}
	public Product(Integer id, Integer sid, String name, Integer num,
			Double price) {
		super();
		this.id = id;
		this.sid = sid;
		this.name = name;
		this.num = num;
		this.price = price;
	}
	public Product() {
		super();
	}
	public Product(Storage findBySid, String name2, Integer num2, Double price2) {
		// TODO Auto-generated constructor stub
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public Integer getSid() {
		return sid;
	}
	public void setSid(Integer sid) {
		this.sid = sid;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Integer getNum() {
		return num;
	}
	public void setNum(Integer num) {
		this.num = num;
	}
	public Double getPrice() {
		return price;
	}
	public void setPrice(Double price) {
		this.price = price;
	}
}